COMPILER=gcc -g
C_PLUS=g++ -g
COMP=$(COMPILER) -o $@ -c
TARGET1=sim
LIBS=-lpthread
OBJS=main.o Shell.o 
.SUFFIXES: no_suffiexes

project : $(TARGET1)

$(TARGET1): main.cpp $(OBJS)
	$(C_PLUS) -o $(TARGET1)  main.cpp  $(OBJS) $(LIBS) 
Shell.o: Shell.h Shell.cpp
	$(C_PLUS) -D_REENTRANT -o Shell.o -c Shell.cpp

clean: 
	rm -f *.o
	rm sim